package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_revise_bed")
public class OmcReviseBed extends BaseEntity {

    /**
     * 调房调级Id
     */
    @Column(name = "revise_id")
    private Long reviseId;

    /**
     * 床位Id
     */
    @Column(name = "bed_id")
    private Integer bedId;

    /**
     * 床位编号
     */
    @Column(name = "bed_no")
    private String bedNo;

    /**
     * 房间Id
     */
    @Column(name = "room_id")
    private Integer roomId;

    /**
     * 房间编号
     */
    @Column(name = "room_no")
    private String roomNo;

    /**
     * 房间与床位连接符
     */
    @Column(name = "room_link")
    private String roomLink;

    /**
     * 楼层
     */
    @Column(name = "floor_no")
    private Integer floorNo;

    /**
     * 楼栋Id
     */
    @Column(name = "building_id")
    private Integer buildingId;

    /**
     * 楼栋编号
     */
    @Column(name = "building_no")
    private String buildingNo;

    /**
     * 楼栋名
     */
    @Column(name = "building_name")
    private String buildingName;

    /**
     * 床位位置 [房间][房间连接符][床位]
     */
    private String location;

    /**
     * 调整床位顺序 1-调整前 2-调整后
     */
    @Column(name = "bed_order")
    private Integer bedOrder;

}